﻿using System;
using System.Collections.Generic;
using System.Text;
using GraphLib;

namespace ctem.gui.WrappedGraphLib
{
    public class WrappedGraph<V> : GraphLib.Graph<V,E> where V : IVertex
    {
        public void Connect(string nameSrc, string nameDest, string nameEdge)
        {
            AddEdge(new Edge(nameEdge,GetVertex(nameSrc),GetVertex(nameDest),0));
        }
    }
}
